<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gold_lable_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gold_lable_id" data-rule="required" data-source="shopro/lable/index" class="form-control selectpage" name="row[gold_lable_id]" type="text" value="{$row.gold_lable_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gold_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-gold_image" class="form-control" size="50" name="row[gold_image]" type="text" value="{$row.gold_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-gold_image" class="btn btn-danger faupload" data-input-id="c-gold_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-gold_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-gold_image" class="btn btn-primary fachoose" data-input-id="c-gold_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-gold_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-gold_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gold_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-gold_images" class="form-control" size="50" name="row[gold_images]" type="textarea" value="{$row.gold_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-gold_images" class="btn btn-danger faupload" data-input-id="c-gold_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-gold_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-gold_images" class="btn btn-primary fachoose" data-input-id="c-gold_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-gold_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-gold_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gold_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gold_name" class="form-control" name="row[gold_name]" type="text" value="{$row.gold_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xiaofei')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xiaofei" class="form-control" name="row[xiaofei]" type="text" value="{$row.xiaofei|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dongjie')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dongjie" class="form-control" name="row[dongjie]" type="text" value="{$row.dongjie|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gold_shifang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gold_shifang" class="form-control" name="row[gold_shifang]" type="text" value="{$row.gold_shifang|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Day_shifang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day_shifang" class="form-control" name="row[day_shifang]" type="text" value="{$row.day_shifang|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
